package com.xs.client.entity;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;

public interface NettyFuture {


	String get() throws InterruptedException;

	String get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException;
}
